import QtQuick 2.0

Item{
    id:actionCom
    property alias item1: item1
    width: 511
    height: 72
//    width: 544
//    height: 216
//    Image {
//        id: name
//        x: 0
//        y: 0
//        source: "3175-393c4ac87ca48649.png"
//    }

    Item {
        id: item1
        //x: 17
        //y: 55
        width: 511
        height: 72

        Text {
            id: text1
            width: 369
            text: group
            anchors.left: parent.left
            anchors.leftMargin: 26
            anchors.bottom: parent.bottom
            anchors.bottomMargin: 24
            anchors.top: parent.top
            anchors.topMargin: 12
            font.family: "Tahoma"
            font.pixelSize: 29
        }

        Rectangle {
            id: rectFlag
            x: 450
            width: 44
            color: "#00000000"
            radius: 22
            anchors.top: parent.top
            anchors.topMargin: 11
            anchors.bottom: parent.bottom
            anchors.bottomMargin: 15
            anchors.right: parent.right
            anchors.rightMargin: 17
            border.color: "#b30707"
            border.width: 6

            MouseArea {
                id: mouseArea2
                anchors.fill: parent
            }
        }

        Text {
            id: projectTxt
            x: 41
            y: 49
            width: 48
            height: 17
            text: "· 无项目"
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12

            MouseArea {
                id: mouseArea1
                anchors.fill: parent
            }
        }

        Text {
            id: contentTxt
            x: 95
            y: 49
            width: 78
            height: 17
            text: qsTr("·无上下文")
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12

            MouseArea {
                id: mouseArea3
                anchors.fill: parent
            }
        }

        Text {
            id: text2
            x: 288
            y: 52
            width: 89
            height: 14
            text: qsTr("Text")
            verticalAlignment: Text.AlignVCenter
            font.pixelSize: 12
        }

        Rectangle {
            id: rectangle2
            width: 7
            color: "#89dafb"
            anchors.left: parent.left
            anchors.leftMargin: 0
            anchors.bottom: parent.bottom
            anchors.bottomMargin: 0
            anchors.top: parent.top
            anchors.topMargin: 0
        }

    }

    Connections {
        target: mouseArea3
        onDoubleClicked: print("clicked")
    }
}


